package com.ruibang.glass.material.controller.cp;

import com.ruibang.glass.material.domain.req.bcp.MaterialBCPInventoryReq;
import com.ruibang.glass.material.service.cp.GMaterialCPInventoryManagementService;
import com.teaming.cloud.framework2.common.model.ResultBody;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * <p>
 * 成品库存管理 前端控制器
 * </p>
 *
 * @author mameng
 * @since 2024-02-05
 */
@RestController
@RequestMapping("/api/material/cp/inventory/management")
@Api(value = "成品库存管理", tags = {"成品库存管理"})
public class MaterialCPInventoryManagementController {


    @Autowired
    private GMaterialCPInventoryManagementService materialBCPInventoryManagementService;

    @PostMapping("/list")
    @ApiOperation(value = "成品库存管理列表查询", response = ResultBody.class)
    public ResultBody getPageList(@RequestBody MaterialBCPInventoryReq materialBCPInventoryReq) {
        return ResultBody.success(materialBCPInventoryManagementService.getPage(materialBCPInventoryReq));
    }




}
